#include "FitInput.h"

using namespace std;
using namespace FitMethods;

FitInput::FitInput(TH1D * data, vector <TH1D *> & signalTemplates, vector<TH1D *> & backgroundTemplates, GarbageCollector * gc=NULL) {
    this->data = data;
    this->signalTemplates = signalTemplates;
    this->backgroundTemplates = backgroundTemplates;
    if(gc!=NULL) {
        gc->add(this);
    }
}
